home *** CD-ROM | disk | FTP | other *** search
- Path: fido.asd.sgi.com!austern
- From: gregor@netcom.com (Greg Colvin)
- Newsgroups: comp.std.c++
- Subject: Re: sample auto_ptr template
- Date: 04 Apr 1996 10:15:12 PST
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <gregorDpBGDB.Bn4@netcom.com>
- References: <gregorDp23ts.Axt@netcom.com> <315D79CD.4F28E83E@cantrip.org>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: Thu, 4 Apr 1996 02:31:59 GMT
- Apparently-To: comp-std-c++@uunet.uu.net
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMWQRsUy4NqrwXLNJAQGnNwH+IIELvHN56MZU+9yRehb/FrSkzbDCeTRb
- tvnU+aoI6beHEFjJF8c0zUkWs4nl2nHHNgHoyE8J8F7VnT4BCwjpUw==
- =7Tmq
- Originator: austern@isolde.mti.sgi.com
-
- In article <315D79CD.4F28E83E@cantrip.org> "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org> writes:
- >Greg Colvin wrote:
- >> In Santa Cruz we decided to change the auto_ptr copy semantics to
- >> allow returns of auto_ptr from functions. Following is a simple
- >> implementation. It (almost) compiles with the latest Edison Design
- >> Group front end (the template friend declaration choked it).
- >
- >I hasten to add, in defense of John Spicer's sterling reputation,
- >that this was not a released EDG front end, but John's pre-alpha
- >working copy (i.e., only as reliable as other peoples' released
- >versions :-).
-
- Yes, and I was most pleased to be able (at last) to compile auto_ptr.
-
- Greg Colvin
- gregor@netcom.com
- >
- >Nathan Myers
- >ncm@cantrip.org
- >---
- >[ comp.std.c++ is moderated. To submit articles: try just posting with ]
- >[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- >[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- >[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- >[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
- ---
- [ comp.std.c++ is moderated. To submit articles: Try just posting with your
- newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
- comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
- Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
- Comments? mailto:std-c++-request@ncar.ucar.edu
- ]
-